package com.ant.storage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author hzd
 * @since 2024-06-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("storage_payment")
@ApiModel(value="StoragePayment对象", description="")
public class StoragePayment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("parent_id")
    private Integer parentId;

    @ApiModelProperty(value = "支付类型")
    @TableField("payment_type")
    private String paymentType;

    @ApiModelProperty(value = "支付说明")
    @TableField("payment_explain")
    private String paymentExplain;

    @ApiModelProperty(value = "金额")
    @TableField("payment_amount")
    private BigDecimal paymentAmount;

    @ApiModelProperty(value = "开始时间")
    @TableField("start_time")
    private Date startTime;

    @ApiModelProperty(value = "截止时间")
    @TableField("deadline_time")
    private Date deadlineTime;

    @ApiModelProperty(value = "状态 0 正常  1到期")
    @TableField("payment_state")
    private Integer paymentState;

    @ApiModelProperty(value = "支付说明")
    @TableField("creation_by")
    private String creationBy;


    @ApiModelProperty(value = "截止时间")
    @TableField("creation_time")
    private Date creationTime;
}
